let theme={
  data(){
    return {
      // theme: 'light',
      theme: 'dark',
      myname:"特朗普"
    }
  },
  methods:{
    changeTheme(them){
      this.theme=them;
    }
  },
  computed:{
      themeStr(){
        return this.theme+"主题"
      }
  },
  watch:{},
  created(){},
  mounted(){
    console.log("混入的内容 加载完成了")
  }
}
// 导出mixins 书写的内容
export default theme